package com.moneywelcome.goldfacade.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("黄金实时信息")
public class ProductInfoDto {
    @ApiModelProperty("黄金id")
    private Integer goldid;
    @ApiModelProperty("黄金品种/Ag(T+D)")
    private String variety;
    @ApiModelProperty("白银(T+D)\", /*品种名称*/")
    private String varietynm;
    @ApiModelProperty("黄金当前价")
    private Double lastPrice;//: "3553.00", /*当前价*/
    @ApiModelProperty("黄金买入价")
    private Double buyPrice;//": "264.6200", /*买入价*/
    @ApiModelProperty("黄金卖出价")
    private Double sellPrice;//": "287.4000", /*卖出价*/
    @ApiModelProperty("黄金最高价")
    private Double highPrice;//": "3588.00", /*最高价*/
    @ApiModelProperty("黄金最低价")
    private Double lowPrice;//": "3530.00", /*最低价*/
    @ApiModelProperty("黄金开盘价")
    private Double openPrice;//": "3549.00", /*开盘价*/
    @ApiModelProperty("黄金昨天收盘价")
    private Double yesyPrice;//": "3552.00", /*昨收价*/
    @ApiModelProperty("黄金涨跌额")
    private Double changePrice;//": "0.69", /*涨跌额*/
    @ApiModelProperty("黄金涨跌幅")
    private String changeMargin;//": "0.24%", /*涨跌幅*/
    @ApiModelProperty("更新时间")
    private String uptime;//: "2015-05-11 11:12:39" /*更新时间 (行情有变化uptime才会更新)*/
}
